<?php

namespace app\common\model;

use app\common\basic\BaseModel;

class DealerStatistics extends BaseModel
{
    protected $table = 'vk_dealer_statistics';
    

    public function company() {
        return $this->belongsTo(Company::class, 'company_id', 'id');
    }

    public function dealer() {
        return $this->belongsTo(Dealer::class, 'dealer_id', 'id');
    }
}